home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
batchut
/
bcsrce2.zip
/
WRITE.SRC
< prev
Wrap
Text File
|
1990-11-12
|
2KB
|
81 lines
echo off
IF !%1==! GOTO HELP
IF %1==LETTER GOTO LETTER
IF %1==letter GOTO LETTER
IF %1==MEMO GOTO MEMO
IF %1==memo GOTO MEMO
IF %1==L GOTO LETTER
IF %1==l GOTO LETTER
IF %1==M GOTO MEMO
IF %1==m GOTO MEMO
GOTO HELP
:LETTER
ECHO Housing Devl., City of Cols.
ECHO 50 W. Gay St., 2nd FL
ECHO Columbus, OH 43215
ECHO (614)-645-7600
ECHO
ECHO *%2
ECHO *%3
ECHO *%4
ECHO *%5
ECHO *%6
ECHO %7
ECHO Dear %2:
ECHO
ECHO
ECHO
ECHO
ECHO
ECHO
ECHO
ECHO
ECHO
ECHO
ECHO Felix A. Rozewicz
ECHO
ECHO
ECHO
ECHO Dbase Programmer/VINES Admin.
ECHO
GOTO STOP
:MEMO
ECHO To: %2
ECHO From: Felix A. Rozewicz
ECHO Date: %3
ECHO RE: %4
ECHO
ECHO
ECHO
ECHO
ECHO
ECHO
GOTO STOP
:HELP
ECHO SYNTAX--: WRITE [LETTER]/[L]/[MEMO]/[M] [Redirect] [output]
ECHO USAGE---: Writes to optional [output] a template memo or letter.
ECHO
ECHO EXAMPLES: WRITE LETTER [Redirect] BaseLtr.txt
ECHO EXAMPLES: WRITE L [Redirect] BaseLtr.txt
ECHO EXAMPLES: WRITE MEMO [Redirect] BaseMemo.txt
ECHO EXAMPLES: WRITE M [Redirect] BaseMemo.txt
ECHO
ECHO For letters, optional parameters are written as:
ECHO %%2 = OneWordName
ECHO %%3 = OneWordBusiness
ECHO %%4 = OneWordAddress
ECHO %%5 = OneWordCityStZip
ECHO %%6 = OneWordPhone
ECHO %%7 = OneWordDate
ECHO Dear: %%2 = OneWordName
ECHO
ECHO For memos, optional parameters are written as:
ECHO To: %%2 = OneWordName
ECHO Date: %%3 = OneWordDate
ECHO RE: %%4 = OneWordSubject
ECHO
GOTO STOP
:STOP
echo